# == Coding: UTF-8 ==
# @Project :        UItestPythonProject
# @fileName         login_page.py  
# @version          v0.4
# @author           Echo
# @GiteeWarehouse   https://gitee.com/liu-long068/
# @editsession      2023/4/11
# @Software:        PyCharm
# ====/******/=====
from public.common.basepage import Page


class LoginPage(Page):
    def login_page(self):
        self.dr.open('http://192.168.2.208/console/login')
        self.dr.send_key('id->username', '888')
        self.dr.send_key('id->password', 'Aa123456')
        self.dr.send_key('id->captcha', 'ABDS')
        self.dr.click('css->.ant-btn')
        self.dr.assert_equals('四川省人力资源和社会保障厅工资福利处', self.dr.get_text('css->.home_personTitle__cQ0jt'))
